package cn.ds.assets.module.assets.controller.admin.metadataJobInstance.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;

/**
 * 元数据管理-元数据采集作业实例 Excel VO
 *
 * @author admin
 */
@Data
public class BaseMetadataJobInstanceExcelVO {

    @ExcelProperty("主键ID")
    private Long id;

    @ExcelProperty("作业主键id,关联assets_metadata_collect_job的id字段")
    private Long jobId;

    @ExcelProperty("状态,1:执行中,2:成功,3:失败,4:超时,5:已取消")
    private Byte status;

    @ExcelProperty("业务日期")
    private LocalDate businessDate;

    @ExcelProperty("开始时间")
    private LocalDateTime startTime;

    @ExcelProperty("结束时间")
    private LocalDateTime endTime;

    @ExcelProperty("运行时长,单位:秒")
    private Long runtime;

    @ExcelProperty("日志")
    private String msg;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty("项目空间ID,关联assets_project的id字段")
    private Long projectId;

    @ExcelProperty("下次执行时间")
    private LocalDateTime nextTime;

    @ExcelProperty("作业编码,关联assets_metadata_collect_job的job_code字段")
    private String jobCode;

}
